package com.dnp.springbootdocker.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author huazai
 * @date 2024/7/3
 */
@Api(tags = "测试接口")
@RestController
@Slf4j
public class TestController {
    @GetMapping("/test")
    @ApiOperation("测试")
    public String test() {
        return "hello";
    }

    @GetMapping("/test1")
    @ApiOperation("测试2")
    public String test1() {
        return "hello2";
    }
}
